<div class="sui-form form-horizontal">
  <p>
    <input
      type="text"
      name="controller"
      ng-model="controller"
      class="input-xlarge"
      placeholder="控制器名称"
    />
    <button class="sui-btn btn-small btn-primary" ng-click="pageData()">
      搜索
    </button>
  </p>
  <table class="sui-table table-bordered">
    <thead>
      <tr>
        <th width="10%"></th>
        <th>{{ "controller" | translate }}</th>
        <th>控制器名称</th>
        <th>方法名称</th>
        <th>{{ "action" | translate }}</th>
      </tr>
    </thead>
    <tbody>
      <tr ng-repeat="(key,item) in items">
        <td>
          <label>
            <input
              type="checkbox"
              name="rs_a_{{ item.pid }}"
              checklist-model="chosemodel"
              checklist-value="item.pid"
            />{{ item.pid }}
          </label>
        </td>
        <td nowrap>{{ item.controller }}</td>
        <td nowrap>{{ item.cname }}</td>
        <td nowrap>{{ item.aname }}</td>
        <td>{{ item.action }}</td>
      </tr>
    </tbody>
  </table>
  <pager
    page-no="1"
    page-size="pageSize"
    total="itemsTotal"
    get-data="pageData(pageNo)"
  ></pager>
  <!-- 分页end -->
  <div style="clear:both;"></div>
</div>
